<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_nav.js' />
</head>
<body id="main">

<div class="map">
	内容管理 &gt;&gt; 分类管理 &gt;&gt; <strong id="title">分类列表</strong>
</div>

<ol>
	<li><a href="__URL__/index" class="selected">分类列表</a></li>
	<li><a href="__URL__/add">新增分类</a></li>
</ol>
<form method="post" action="__URL__/sort">
<table cellspacing="0">
	<tr><th>编号</th><th>排序</th><th>分类名称</th><th>描述</th><th>操作</th></tr>
	<volist name="list"	id="vo">
	<tr>
		<td>{$vo.id}</td>
		<if condition="($vo.pid eq 0)">
		<td>
			<input type="text" name="sort[]" value="{$vo.sort}" class="text sort" />
			<input type="hidden" name="ids[]" value="{$vo.id}" />
		</td>
		<else />
		<td></td>
		</if>
		<td style="text-align:left">{$vo.fname}</td>
		<td>{$vo.category_info}</td>
		<td><a href="__URL__/edit/id/{$vo.id}">修改</a> | <a href="__URL__/delete/id/{$vo.id}" onclick="return confirm('你真的要删除这个分类及其子分类吗？') ? true : false">删除</a></td>
	</tr>
	</volist>
	<tr><td></td><td><input type="submit" name="send" value="重新排序" style="cursor:pointer;" /></td><td></td><td></td><td></td></tr>
</table>
</form>
<div id="page">{$page}</div>
</body>
</html>